package cn.lysj.framework.foodv2.domain;

import cn.lysj.framework.base.BaseEntity;
import cn.lysj.framework.common.RelationType;
import cn.lysj.framework.common.annotation.Relation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import java.math.BigDecimal;

/**
 * @author drj
 * @description 二级规格
 * @create 2018-11-09 11:30:11
 **/
@Data
@Entity
@EqualsAndHashCode(callSuper=true)
public class StandardLevTwo extends BaseEntity {
    private String standardLevOneId; //一级规格id
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal money; //价格

}